<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>发射站组管理</title>
	<meta name="decorator" content="nblank"/>
</head>
<body>
<div class="content container">
	<h2 class="page-title">发射站组管理<small>&nbsp;&nbsp;发射站组列表</small></h2>
	<section class="widget widget-tabs widget-table-overflow ">
		<header>
			<ul class="nav nav-tabs">
				<li><a href="${ctx}/biz/sgroup/sgroup">发射站列表</a></li>
				<li class="active"><a href="javascript:;">组列表&nbsp;(${sgroup.station.name})</a></li>
				<li><a href="${ctx}/biz/sgroup/form?station.id=${sgroup.station.id}">组添加&nbsp;(${sgroup.station.name})</a></li>
			</ul>
		</header>
		<%--<biz:message content="${message}"/>--%>
		<div class="body tab-content">
			<table id="contentTable" class="table table-striped table-condensed">
				<tr><th>名称</th><th>组类型</th><th>原始组名称</th></td><th>完整性</th><th>设备配置</th><th>操作</th></tr>
				<c:forEach items="${list}" var="group">
					<tr>
						<td>${group.name}</td>
						<td>${fns:getDictLabels(group.grpType, "station_group_type", "")}</td>
						<td>${group.group.name}</td>
						<td>${fns:getDictLabels(group.integrity, "integrity_type", "")}</td>
						<td><a href="${ctx}/biz/sgcfg?sgroupId=${group.id}&itemId=${gitem.id}&groupId=${group.id}&stationId=${sgroup.station.id}">配置</a></td>
						<td>
							<a href="${ctx}/biz/sgroup/form?id=${group.id}&station.id=${sgroup.station.id}">修改</a>
							<a href="${ctx}/biz/sgroup/delete?id=${group.id}" class="no-pjax" onClick="confirmx('确认要删除该组吗？', this.href);return false;">删除</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</section>
</div>
</body>
</html>